package com.xiaochi.auth.application.convert;

import com.xiaochi.auth.application.dto.AuthPermissionDTO;
import com.xiaochi.auth.domain.entity.AuthPermissionBO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

/**
 * 权限dto转换器
 * @author zqx
 * @since 2024/8/29
 */
@Mapper
public interface AuthPermissionDTOConverter {

    AuthPermissionDTOConverter INSTANCE = Mappers.getMapper(AuthPermissionDTOConverter.class);

    AuthPermissionBO authPermissionDTOToBo(AuthPermissionDTO authPermissionDTO);
}
